package config

type JWT struct {
	SigningKey       string `mapstructure:"signing-key" json:"signing-key" yaml:"signing-key"`                      // jwt签名
	ExpiresTime      int64  `mapstructure:"expires-time" json:"expires-time" yaml:"expires-time"`                   // 过期时间
	RedisExpiresTime int64  `mapstructure:"redis-expires-time" json:"redis-expires-time" yaml:"redis-expires-time"` // redis过期时间
	BufferTime       int64  `mapstructure:"buffer-time" json:"buffer-time" yaml:"buffer-time"`                      // 缓冲时间
	Issuer           string `mapstructure:"issuer" json:"issuer" yaml:"issuer"`                                     // 签发者
}
